package cn.iocoder.yudao.module.member.dal.dataobject.technician;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.List;

/**
 * 技师 DO
 *
 * @author dzy
 */
@TableName("tb_technician")
@KeySequence("tb_technician_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AppTechnicianDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 用户id
     */
    private Long memberId;
    /**
     * 个人介绍
     */
    private String introduce;
    /**
     * 生活照
     */
    private String lifePhotos;
    /**
     * 评分
     */
    private String score;
    /**
     * 服务状态
     */
    private String status;

    /**
     * 区域编码集合
     */
    @TableField(exist = false)
    private List<Long> areaCodeList;

    /**
     * 用户昵称
     */
    @TableField(exist = false)
    private String nickname;

    /**
     * 身份证
     */
    @TableField(exist = false)
    private String idCard;

    @TableField(exist = false)
    private String password;

    @TableField(exist = false)
    private String avatar;

    @TableField(exist = false)
    private String mobile;

    @TableField(exist = false)
    private Integer sex;

    @TableField(exist = false)
    private String role;

    @TableField(exist = false)
    private String statusName;

    @TableField(exist = false)
    private String commentTotal;




}
